package com.gxp.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.gxp.pojo.Game;
import com.gxp.pojo.GameGoods;
import com.gxp.pojo.GameServer;
import com.gxp.pojo.GameType;

@Service
public interface GameService {

	public List<GameType> getGameTypes();
	public void saveGame(Game game);
	public List<Game> getGames();
	public List<GameServer> getGameServers(int gameId);
	public void saveGameServer(GameServer server);
	public void updateServerStatus(Map<String, Object> param);
	public Game getGame(int gameId);
	public void updateGame(Game gameInput);
	public void updateGameStatus(Map<String, Object> param);
	public List<GameGoods> getEquipments(Integer gameId);
	public void saveEquipment(GameGoods goods);
	public void updateEquipStatus(Map<String, Object> param);
	public void updateEquip(GameGoods goods);
	public void updateServer(GameServer gameServer);
}
